package com.encon.projecttracker.server.services;


import java.util.List;

import org.springframework.security.annotation.Secured;

import com.encon.projecttracker.rpc.beans.CompaniesDTO;
import com.encon.projecttracker.rpc.beans.TestDTO;

public interface QueryService extends Service{

    @Secured ({"ROLE_USER"})
	public List<TestDTO> getRecords(String userId, String sessionId);

	/**
	 *TODO JAVADOC
	 *
	 * @param currentUserId
	 * @param sessionId
	 * @return
	 */
    @Secured ({"ROLE_USER"})
	public List<CompaniesDTO> getCompanies(String currentUserId, String sessionId);

}
